package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.cglib.core.Local;

import java.math.BigDecimal;
import java.time.LocalDateTime;

//秒杀成功时间
@Data
public class SkillOrder {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long skillId;
    private Long userId;
    private BigDecimal money;
    private LocalDateTime skillTime;
    private LocalDateTime payTime;
    // 订单状态 1：创建未支付 2：已支付待发货 3：已发货待收货 4：已收货 5：已完成 6：已取消
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}